<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="我的任务" name="first">
        <mytask></mytask>
      </el-tab-pane>
      <el-tab-pane label="抄送我的任务" name="second">
        <mypublishtask></mypublishtask>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import mytask from '~/components/taskPage/mytask.vue';
import mypublishtask from '~/components/taskPage/mypublishtask.vue';

export default {
  components: {
    mytask,
    mypublishtask,
  },
  data() {
    return {
      activeName: 'first',
    };
  },
  methods: {
    handleClick() {},
  },
};
</script>
<style scoped>
</style>
